package com.ddm.service.webService;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ddm.dto.webDTO.MarketAnDTO;
import com.ddm.entity.webEntity.MarketA;
import com.ddm.result.PageResult;

public interface MarketAService extends IService<MarketA> {
    PageResult getMarketAnListByUserType(MarketAnDTO marketAnDTO);
    boolean addMarketAn(MarketAnDTO marketAnDTO);
    boolean deleteMarketAn(long id);
    boolean updateMarketAn(MarketAnDTO marketAnDTO);
    IPage<MarketA> getCollectedMarketAnByUserId(Page<MarketA> page, Integer userId, String key);
}
